package com.base.po.voip;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 自营商城订单
 *
 * @author K
 */
public class SelfShopOrder {
    private String id;// id

    private String ordernum;// 订单号

    private String paymentorder;// 支付商家订单号

    private String parentid;// 代理商id

    private String shopid;// 商家id

    private String selfshopid;// 自营商城id

    private String goodsid;// 商品id

    private String userid;// 用户id

    private Date createtime;// 订单创建时间

    private Date endtime;// 订单结算时间

    private Integer number;// 购买数量

    private String addressee;// 收件人

    private String address;// 收件地址

    private String phonenumber;// 收件人号码

    private BigDecimal cash;// 现金支付金额

    private BigDecimal derate;// 话费金额（抵扣）

    private BigDecimal balance;// 话费抵扣剩余余额

    private Integer paymethod;// 支付方式  1支付宝 2微信 3话费全抵

    private String delivery;// 配送方式

    private String message;// 订单总金额

    private Date paytime;// 支付时间

    private String coupon;// 优惠券

    private String exChangeUrl;// 优惠券兑换地址

    private Date deliverytime;// 发货时间

    private String expresscode;// 快递公司编号

    private String expressnumber;// 快递单号

    private Byte status;// 支付状态  0提交 1未支付 2已支付 

    private Byte deliverystatus;// 发货状态  0未发货 1发货

    private Byte datastatus;// 状态

    private String orderid;// 订单id

    private String color;// 颜色

    private String size;// 尺寸

    private String remarks;// 备注

    private String shareid;

    private Integer istakeover;// 收货状态  0未收货 1已收货 2退款中 3已退款

    private String refundremarks;// 退款理由

    private Subscribers subscribers;

    private SelfShopGoods selfShopGoods;

    public String getExChangeUrl() {
        return exChangeUrl;
    }

    public void setExChangeUrl(String exChangeUrl) {
        this.exChangeUrl = exChangeUrl;
    }

    public Subscribers getSubscribers() {
        return subscribers;
    }

    public void setSubscribers(Subscribers subscribers) {
        this.subscribers = subscribers;
    }

    public SelfShopGoods getSelfShopGoods() {
        return selfShopGoods;
    }

    public void setSelfShopGoods(SelfShopGoods selfShopGoods) {
        this.selfShopGoods = selfShopGoods;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum == null ? null : ordernum.trim();
    }

    public String getPaymentorder() {
        return paymentorder;
    }

    public void setPaymentorder(String paymentorder) {
        this.paymentorder = paymentorder == null ? null : paymentorder.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getShopid() {
        return shopid;
    }

    public void setShopid(String shopid) {
        this.shopid = shopid == null ? null : shopid.trim();
    }

    public String getSelfshopid() {
        return selfshopid;
    }

    public void setSelfshopid(String selfshopid) {
        this.selfshopid = selfshopid == null ? null : selfshopid.trim();
    }

    public String getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(String goodsid) {
        this.goodsid = goodsid == null ? null : goodsid.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getAddressee() {
        return addressee;
    }

    public void setAddressee(String addressee) {
        this.addressee = addressee == null ? null : addressee.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber == null ? null : phonenumber.trim();
    }

    public BigDecimal getCash() {
        return cash;
    }

    public void setCash(BigDecimal cash) {
        this.cash = cash;
    }

    public BigDecimal getDerate() {
        return derate;
    }

    public void setDerate(BigDecimal derate) {
        this.derate = derate;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Integer getPaymethod() {
        return paymethod;
    }

    public void setPaymethod(Integer paymethod) {
        this.paymethod = paymethod;
    }

    public String getDelivery() {
        return delivery;
    }

    public void setDelivery(String delivery) {
        this.delivery = delivery == null ? null : delivery.trim();
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public Date getPaytime() {
        return paytime;
    }

    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getCoupon() {
        return coupon;
    }

    public void setCoupon(String coupon) {
        this.coupon = coupon == null ? null : coupon.trim();
    }

    public Date getDeliverytime() {
        return deliverytime;
    }

    public void setDeliverytime(Date deliverytime) {
        this.deliverytime = deliverytime;
    }

    public String getExpresscode() {
        return expresscode;
    }

    public void setExpresscode(String expresscode) {
        this.expresscode = expresscode;
    }

    public String getExpressnumber() {
        return expressnumber;
    }

    public void setExpressnumber(String expressnumber) {
        this.expressnumber = expressnumber == null ? null : expressnumber.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getDeliverystatus() {
        return deliverystatus;
    }

    public void setDeliverystatus(Byte deliverystatus) {
        this.deliverystatus = deliverystatus;
    }

    public Byte getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Byte datastatus) {
        this.datastatus = datastatus;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getShareid() {
        return shareid;
    }

    public void setShareid(String shareid) {
        this.shareid = shareid;
    }

    public Integer getIstakeover() {
        return istakeover;
    }

    public void setIstakeover(Integer istakeover) {
        this.istakeover = istakeover;
    }

    public String getRefundremarks() {
        return refundremarks;
    }

    public void setRefundremarks(String refundremarks) {
        this.refundremarks = refundremarks;
    }

    public SelfShopOrder() {
        super();
    }

    public SelfShopOrder(String id, String ordernum, String parentid, String shopid, String selfshopid, String goodsid,
                         String userid, Date createtime, Integer number, String addressee, String address, String phonenumber,
                         BigDecimal cash, BigDecimal derate, BigDecimal balance, Byte status, Byte deliverystatus, Byte datastatus,
                         String orderid) {
        super();
        this.id = id;
        this.ordernum = ordernum;
        this.parentid = parentid;
        this.shopid = shopid;
        this.selfshopid = selfshopid;
        this.goodsid = goodsid;
        this.userid = userid;
        this.createtime = createtime;
        this.number = number;
        this.addressee = addressee;
        this.address = address;
        this.phonenumber = phonenumber;
        this.cash = cash;
        this.derate = derate;
        this.balance = balance;
        this.status = status;
        this.deliverystatus = deliverystatus;
        this.datastatus = datastatus;
        this.orderid = orderid;
    }

    public SelfShopOrder(String id, String ordernum, String parentid, String shopid, String selfshopid, String goodsid,
                         String userid, Date createtime, Integer number, String addressee, String address, String phonenumber,
                         BigDecimal cash, BigDecimal derate, BigDecimal balance, Byte status, Byte deliverystatus, Byte datastatus,
                         Integer paymethod, String orderid, String color, String size, String remarks) {
        super();
        this.id = id;
        this.ordernum = ordernum;
        this.parentid = parentid;
        this.shopid = shopid;
        this.selfshopid = selfshopid;
        this.goodsid = goodsid;
        this.userid = userid;
        this.createtime = createtime;
        this.number = number;
        this.addressee = addressee;
        this.address = address;
        this.phonenumber = phonenumber;
        this.cash = cash;
        this.derate = derate;
        this.balance = balance;
        this.status = status;
        this.deliverystatus = deliverystatus;
        this.datastatus = datastatus;
        this.paymethod = paymethod;
        this.orderid = orderid;
        this.color = color;
        this.size = size;
        this.remarks = remarks;
    }

    public SelfShopOrder(String id, String ordernum, String parentid, String shopid, String selfshopid, String goodsid,
                         String userid, Date createtime, Integer number, String addressee, String address, String phonenumber,
                         BigDecimal cash, BigDecimal derate, BigDecimal balance, Byte status, Byte deliverystatus, Byte datastatus,
                         Integer paymethod, String orderid, String color, String size, String remarks, String shareid) {
        super();
        this.id = id;
        this.ordernum = ordernum;
        this.parentid = parentid;
        this.shopid = shopid;
        this.selfshopid = selfshopid;
        this.goodsid = goodsid;
        this.userid = userid;
        this.createtime = createtime;
        this.number = number;
        this.addressee = addressee;
        this.address = address;
        this.phonenumber = phonenumber;
        this.cash = cash;
        this.derate = derate;
        this.balance = balance;
        this.status = status;
        this.deliverystatus = deliverystatus;
        this.datastatus = datastatus;
        this.paymethod = paymethod;
        this.orderid = orderid;
        this.color = color;
        this.size = size;
        this.remarks = remarks;
        this.shareid = shareid;
    }

    public SelfShopOrder(String id, String ordernum, String parentid, String shopid, String selfshopid, String goodsid,
                         String userid, Date createtime, Date endtime, Integer number, String addressee, String address,
                         String phonenumber, BigDecimal cash, BigDecimal derate, BigDecimal balance, String coupon, Byte status,
                         Byte deliverystatus, Byte datastatus, Integer paymethod, String orderid, String color, String size) {
        this.id = id;
        this.ordernum = ordernum;
        this.parentid = parentid;
        this.shopid = shopid;
        this.selfshopid = selfshopid;
        this.goodsid = goodsid;
        this.userid = userid;
        this.createtime = createtime;
        this.endtime = endtime;
        this.number = number;
        this.addressee = addressee;
        this.address = address;
        this.phonenumber = phonenumber;
        this.cash = cash;
        this.derate = derate;
        this.balance = balance;
        this.paymethod = paymethod;
        this.coupon = coupon;
        this.status = status;
        this.deliverystatus = deliverystatus;
        this.datastatus = datastatus;
        this.orderid = orderid;
        this.color = color;
        this.size = size;
    }

    public SelfShopOrder(String id, String ordernum, String parentid, String shopid, String selfshopid, String goodsid,
                         String userid, Date createtime , Date endtime, Integer number, String addressee, String address, String phonenumber,
                         BigDecimal cash, BigDecimal derate, BigDecimal balance, Byte status, Byte deliverystatus, Byte datastatus,
                         Integer paymethod, String orderid, String color, String size, String remarks) {
        super();
        this.id = id;
        this.ordernum = ordernum;
        this.parentid = parentid;
        this.shopid = shopid;
        this.selfshopid = selfshopid;
        this.goodsid = goodsid;
        this.userid = userid;
        this.createtime = createtime;
        this.endtime = endtime;
        this.number = number;
        this.addressee = addressee;
        this.address = address;
        this.phonenumber = phonenumber;
        this.cash = cash;
        this.derate = derate;
        this.balance = balance;
        this.status = status;
        this.deliverystatus = deliverystatus;
        this.datastatus = datastatus;
        this.paymethod = paymethod;
        this.orderid = orderid;
        this.color = color;
        this.size = size;
        this.remarks = remarks;
    }

    public SelfShopOrder(String id, String ordernum, String parentid, String shopid, String selfshopid, String goodsid,
                         String userid, Date createtime, Integer number, String addressee, String address, String phonenumber,
                         BigDecimal cash, BigDecimal derate, BigDecimal balance, Byte status, Byte deliverystatus, Byte datastatus,
                         Integer paymethod, String message, String orderid) {
        super();
        this.id = id;
        this.ordernum = ordernum;
        this.parentid = parentid;
        this.shopid = shopid;
        this.selfshopid = selfshopid;
        this.goodsid = goodsid;
        this.userid = userid;
        this.createtime = createtime;
        this.number = number;
        this.addressee = addressee;
        this.address = address;
        this.phonenumber = phonenumber;
        this.cash = cash;
        this.derate = derate;
        this.balance = balance;
        this.status = status;
        this.deliverystatus = deliverystatus;
        this.datastatus = datastatus;
        this.paymethod = paymethod;
        this.message = message;
        this.orderid = orderid;
    }

    public SelfShopOrder(String id, String ordernum, String parentid, String shopid, String selfshopid, String goodsid,
                         String userid, Date createtime ,Date endtime, Integer number, String addressee, String address,
                         String phonenumber, BigDecimal cash, BigDecimal derate, BigDecimal balance, Byte status,
                         Byte deliverystatus, Byte datastatus, Integer paymethod, String message, String orderid) {
        super();
        this.id = id;
        this.ordernum = ordernum;
        this.parentid = parentid;
        this.shopid = shopid;
        this.selfshopid = selfshopid;
        this.goodsid = goodsid;
        this.userid = userid;
        this.createtime = createtime;
        this.endtime = endtime;
        this.number = number;
        this.addressee = addressee;
        this.address = address;
        this.phonenumber = phonenumber;
        this.cash = cash;
        this.derate = derate;
        this.balance = balance;
        this.status = status;
        this.deliverystatus = deliverystatus;
        this.datastatus = datastatus;
        this.paymethod = paymethod;
        this.message = message;
        this.orderid = orderid;
    }
}